home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / doc / obexd-client / agent-api.txt next >
Text File  |  2008-07-22  |  917b  |  33 lines

  1. obexd Agent API description
  2. **********************************
  3.  
  4. Copyright (C) 2007-2008  Nokia Corporation
  5. Copyright (C) 2007-2008  Instituto Nokia de Tecnologia (INdT)
  6. Copyright (C) 2007-2008  Marcel Holtmann <marcel@holtmann.org>
  7.  
  8.  
  9. Agent hierarchy
  10. ===============
  11.  
  12. Service        unique name
  13. Interface    org.openobex.Agent
  14. Object path    freely definable
  15.  
  16. Methods
  17.         string Authorize(object transfer, string bt_address, string name,
  18.                     string type, int32 length, int32 time)
  19.  
  20.             This method gets called when the service daemon
  21.             needs to accept/reject a Bluetooth object push request.
  22.             Returns the full path (including the filename) where
  23.             the object shall be stored.
  24.  
  25.             Possible errors: org.openobex.Error.Rejected
  26.                              org.openobex.Error.Canceled
  27.  
  28.         void Cancel()
  29.  
  30.             This method gets called to indicate that the agent
  31.             request failed before a reply was returned. It cancels
  32.             the previous request.
  33.